#set($pageTitle = '客户留言')
#set($layout = "clientlayout.htm" )
#set($navbar = ['店铺首页','企业简介', '企业相册', '客户留言'])
#set($navNow = '客户留言')
#parse('/esvml/store/abstract/init.vml')
#set($href = ["/j/s/${clientid}.html","/j/s/cp/${clientid}.html","/j/s/tu/${clientid}.html", "/j/s/msg/${clientid}.html"])
#set($jspath = ['/esvml/store/abstract/js/message.js'])
<style type="text/css">
div, span, p, form{
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	outline: 0;
	padding: 0;
	margin: 0;
	vertical-align: baseline;
}
.clr {
	zoom: 1;
}
#commentform {
	padding-top: 10px;
}
.cominfodiv {
	margin-bottom: 10px;
	width: 30%;
	float: left;
	margin-left: 5%;
	position: relative;
}
.cominfodiv:first-child {
	margin-left: 0;
}
.cominfodiv input {
	padding: 5px;
	width: 100%;
	border: 1px solid #ddd;
}
.cominfodiv input:hover {
	border: 1px solid #ddd;
}
.cominfodiv p span {
	position: absolute;
	right: 20px;
	top: 5px;
}
#respond textarea {
	width: 100%;
	padding: 5px;
	border: 1px solid #ddd;
	resize: vertical;
}
.submitcom {
	width: 91px;
	height: 37px;
	margin-top: 15px;
	clear: both;
	float: right;
}
.submitcom button {
	font-weight: bold;
	color: #E7E6DF;
	text-align: center;
	width: 91px;
	height: 37px;
	padding: 6px 0 4px 0;
	vertical-align: bottom;
	background-color: #dd6e4c;
	border-radius: 4px;
	border: 1px solid transparent;
	cursor: pointer;
}
.submitcom button:hover{
	color: #fff;
	background-color: #16a951;
	border-color: #398439
}
</style>
<div id="respond" class="comment-respond ds-replybox">
	<form action="/c/pub/command" method="post" id="commentform">	
	<input type="hidden" name="command" value="com.jackrain.ds.CommESMessageSavepub">
	<input type="hidden" name="table" value="ES_MESSAGE">
	<input type="hidden" name="getjson" value="Y">
	<input type="hidden" name="AD_CLIENT_ID" value="$clientid">		
		<div id="comboxinfo">
			<div class="cominfodiv cominfodiv-author ">
				<p for="author">
     			<input type="text" name="NICKNAME" id="NICKNAME" class="texty" value="" tabindex="1"> <span class="required">昵称*</span>
      			</p>
			</div>
			<div class="cominfodiv cominfodiv-email">
				<p for="email">	
				<input type="text" name="EMAIL" id="EMAIL" class="texty" value="" tabindex="2"> <span class="required">邮箱</span>
				</p>
			</div>
			<div class="cominfodiv cominfodiv-mobile">
				<p for="url">
				<input type="text" name="MOBILE" id="MOBILE" class="texty" value="" tabindex="3"><span>手机*</span>
				</p>
			</div>
		</div>		       
		<div class=" cominfodiv-nr">  
			<textarea class="texty" name="MESSAGE" id="MESSAGE" rows="20" tabindex="4" placeholder="输入评论内容..." style="margin-top: 2px; margin-bottom: 2px; height: 162px;"></textarea>
			<div id="loading" style="display: none;"> 正在提交, 请稍候...</div>
			<div id="error" style="display: none;"></div>
			<div id="success" style="display: none;"></div>
			<div class="submitcom">		
					<button id="submit" name="submit" type="button" tabindex="5"onclick="check()">提&nbsp;交</button>
			</div>	
		</div>
	</form>	
</div>
